import request from '@/utils/request'

// 创建支付宝支付订单
export function createAlipayOrder(data) {
  return request({
    url: '/api/pay/alipay',
    method: 'post',
    data: data
  })
}

// 查询支付订单状态
export function getOrderStatus(orderNumber) {
  return request({
    url: '/api/pay/order/status',
    method: 'get',
    params: { orderNumber }
  })
}

